import Cookie from "js-cookie";
import {createStore}  from 'vuex'
import persistedState from 'vuex-persistedstate'
import app from './modules/app.js'
import setting from "@/store/modules/setting.js";

export default createStore({
    // plugins: [
    //     persistedState({
    //         storage: window.sessionStorage,
    //         paths: ['setting']
    //     })
    // ],
    modules: {
        app,
        setting
    }
})

